package com.bbcare.followup.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: fu_informrule_dict随访提醒规则配置表实体类
 * @author: DemonLee
 * @createTime: 2017.5.27
 * @description: 随访提醒规
 * @modify:
 * 
 */

@Entity
public class FuInformruleDict implements Serializable {
    private static final long serialVersionUID = 1L;

    // 随访提醒规则id
    private String id;
    // 队列id
    private String queueId;
    // 科室id
    private String deptId;
    // 租户id
    private String tenantId;
    // 多长时间重复一次，单位：小时(后台自动重发规则)
    private float cycleTime;
    // 一个任务总限制发送次数，默认-1不限制
    private int limitNum;
    // 随访提醒方式, 1:app提醒 2:短信提醒 3:邮件提醒 4:微信提醒
    private String informType;
    // 短信模板id，对应bs_sms_template.id
    private String smsTemplid;
    // 创建时间
    private String createTime;
    // 创建人
    private String createAuthor;
    // 允许发送短信的开始时间点
    private String beginTime;
    // 允许发送短信的结束时间点
    private String endTime;
    // 有效标志位，0无效，1有效
    private String status;
    // 多长时间重复一次，单位：小时(门诊医生重发规则)
    private float outcycleTime;
    // 通知规则，0窗口期提醒；1年龄段提醒
    private String ruleType;
    // 年龄开始天
    private int ageBeginDay;
    // 年龄结束天
    private int ageEndDay;
    // 备注
    private String remark;
    // 当天往前推多少天内完成了随访任务，则不发提醒
    private int ageTaskDay;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setQueueId(String queueId) {
        this.queueId = queueId;
    }

    public String getQueueId() {
        return queueId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setCycleTime(float cycleTime) {
        this.cycleTime = cycleTime;
    }

    public float getCycleTime() {
        return cycleTime;
    }

    public void setLimitNum(int limitNum) {
        this.limitNum = limitNum;
    }

    public int getLimitNum() {
        return limitNum;
    }

    public void setInformType(String informType) {
        this.informType = informType;
    }

    public String getInformType() {
        return informType;
    }

    public void setSmsTemplid(String smsTemplid) {
        this.smsTemplid = smsTemplid;
    }

    public String getSmsTemplid() {
        return smsTemplid;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateAuthor(String createAuthor) {
        this.createAuthor = createAuthor;
    }

    public String getCreateAuthor() {
        return createAuthor;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public float getOutcycleTime() {
        return outcycleTime;
    }

    public void setOutcycleTime(float outcycleTime) {
        this.outcycleTime = outcycleTime;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public int getAgeBeginDay() {
        return ageBeginDay;
    }

    public void setAgeBeginDay(int ageBeginDay) {
        this.ageBeginDay = ageBeginDay;
    }

    public int getAgeEndDay() {
        return ageEndDay;
    }

    public void setAgeEndDay(int ageEndDay) {
        this.ageEndDay = ageEndDay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getAgeTaskDay() {
        return ageTaskDay;
    }

    public void setAgeTaskDay(int ageTaskDay) {
        this.ageTaskDay = ageTaskDay;
    }
}
